package com.woniu.user.client;


import com.woniu.result.Result;
import com.woniu.user.client.param.UserPartakeCrowdParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
@FeignClient(contextId = "userCrowdManageClient", name = "user")
public interface UserCrowdManageClient {
    /**
     * 用户参与众筹
     *
     * @param partakeCrowdParam
     * @return
     */
    @PostMapping("/userPartakeCrowd")
    Result userPartakeCrowd(@RequestBody UserPartakeCrowdParam partakeCrowdParam) throws Exception;
}
